projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29f1ee1
)
(widget-button-click): Save the selected window
author
Gerd Moellmann
<gerd@gnu.org>
Mon, 19 Feb 2001 17:53:04 +0000
(17:53 +0000)
committer
Gerd Moellmann
<gerd@gnu.org>
Mon, 19 Feb 2001 17:53:04 +0000
(17:53 +0000)
around the code handling clicks on buttons.
lisp/wid-edit.el
patch
|
blob
|
history
diff --git
a/lisp/wid-edit.el
b/lisp/wid-edit.el
index e28114eeadd956c380364be0d9d5f431976d4f3f..dc7e28b4ed12365b48645344c3d136a2bc7a2dd4 100644
(file)
--- a/
lisp/wid-edit.el
+++ b/
lisp/wid-edit.el
@@
-861,7
+861,7
@@
Recommended as a parent keymap for modes using widgets.")
;; Mouse click on a widget button. Do the following
;; in a save-excursion so that the click on the button
;; doesn't change point.
- (
progn
+ (
save-selected-window
(save-excursion
(mouse-set-point event)
(let* ((overlay (widget-get button :button-overlay))